package com.wondersgroup.fjzlpt.org.controller.view.tdgl;

import javax.servlet.http.HttpServletRequest;

import com.quick.framework.util.QuickPrincipalUtils;
import com.wondersgroup.fjzlpt.org.util.ControllerCommonUtil;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("tdgl")
public class TdglController {
	
	@RequestMapping("index.html")
	public String index(HttpServletRequest request){
		String powerBtns = ControllerCommonUtil.getMenuButton(request);
		request.setAttribute("powerBtns", powerBtns);
		return "tdgl/index";
	}
	
	@RequestMapping("manager.html")
	public String manager(HttpServletRequest request){
		String powerBtns = ControllerCommonUtil.getMenuButton(request);
		request.setAttribute("powerBtns", powerBtns);
		return "tdgl/manager";
	}
	
	/**
	 * 团队详细
	 * @return
	 */
	@RequestMapping("detail.html")
	public String detail(){
		return "tdgl/detail";
	}
	
	/**
	 * 团队日记
	 * @return
	 */
	@RequestMapping("logs.html")
	public String logs(){
		return "tdgl/logs";
	}
	
	/**
	 * 团队审核
	 * @return
	 */
	@RequestMapping("check.html")
	public String check(){
		return "tdgl/check";
	}
	
	/**
	 * 医生信息
	 * @return
	 */
	@RequestMapping("ysInformation.html")
	public String ysInformation(){
		return "tdgl/ysInformation";
	}
}
